/* 
 *Propriété de la page
 */

html, body, #menu, #contenu_canvas {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow:hidden;
}

/* 
 * Menu
 */

#menu {
	position:absolute;
	float : left;
	left:-9%;
    width: 9%;
    max-width:100px;
   	left:-100px;
    width: 100px;
	background-color: black;
   -moz-transition-property: left, top, background, -moz-transform;
   -moz-transition-duration: 1s;

}
#title{
	text-align:center;
}
#btnParametre, #btnDessin {
    height: 49%;
}
#separation {
    height: 2%;
    border-radius : 10px;
    background-color: white;
}
#btnParametre .bouton{
    margin: 0;
    padding: 0;
    height: 26.67%;
	display:block;
	text-align:center;
	vertical-align:middle;
}
#btnParametre .menuTexte{
    margin: 0;
    padding: 0;
    height: 6.66%;
	display:block;
	text-align:center;
	vertical-align:middle;
}
#btnDessin .bouton{
    margin: 0;
    padding: 0;
    height: 20%;
	display:block;
	text-align:center;
	vertical-align:middle;
}
#btnDessin .menuTexte{
    margin: 0;
    padding: 0;
    height: 5%;
	display:block;
	text-align:center;
	vertical-align:middle;
}
#menu img{
	margin: 0;
    padding: 0;
 	 height:100%;
    width:100%; 
       max-width:100px;
	display:block;
	text-align:center;
	vertical-align:middle;
}
#menu p{
	margin: 0;
    padding: 0;
    height:100%;
    width:100%;
	display:block;
	text-align:center;
	vertical-align:middle;
	color:white;
	background-color: black;
	font-size: 80%;
}

/* 
 * partition
 */

#contenu_canvas{
	float : left;
    width: 100%;
   -moz-transition-property: left, top, background, -moz-transform;
   -moz-transition-duration: 1s;
}
#partitions{
	width: 90%;
	margin:0px;
	padding: 0px;
	float:left;
	height:95%;

}
#btnGauche{
	width: 5%;
	margin:0px;
	height:95%;
	float:left;
}
#btnDroite{
	width: 5%;
	margin:0px;
	height:95%;
	float:left;
}
#page{
	height: 5%;	
	display:block;
	text-align:center;
	vertical-align:middle;
	float:none;
}
#imgPrecedent , #imgSuivante{
	position: absolute;
	top:45%;
	width: 5%;
}
/*
 * dialog
 */
.ui-dialog-titlebar { 
	color:white;
	background-image: linear-gradient( #515151 0%, #000000 50%);
}
.ui-dialog-titlebar-close{
	background-color: white;
}
.ui-dialog .ui-dialog-buttonpane { 
		display:block;
	text-align:center;
	vertical-align:middle;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { 
	float: none; 
}
.ui-dialog .ui-dialog-buttonpane button { 
	color:white; 
	cursor: pointer; 
	background-image: linear-gradient( #515151 0%, #000000 50%);
}
#dialogInstrument, #dialogParametre{
	display:none;
}
#dialogInstrument{
	min-width:600px;
}
#listeInstrument{
	 margin-left: auto;
	 margin-right: auto;
	 vertical-align: middle; 
}
.instrument, .gomme{
	min-height:50px;
	min-width:100px;
	background-image: linear-gradient( #515151 0%, #000000 50%);
	margin:10px;
	margin-left: 20px;
	margin-right: 20px;
	float:left;
	text-align: center;
	border-radius : 10px;
	box-shadow: 5px 5px 5px #000;
}
.instrument:hover{
	background-image: linear-gradient( #A2B5BF 0%, #5F8CA3 50%);
	color:black;
	cursor:pointer;
}
.instrument:active{
	background-image: linear-gradient( #A2B5BF 0%, #5F8CA3 50%);
	color:black;
	border: 5px double white; 
	margin:5px;
	margin-left: 15px;
	margin-right: 15px;
}
.instrument p{
	color :white;
	margin-left: 10px;
	margin-right: 10px;
}

/*
 * dialog parametre
 */
#dialogParametre{
	 margin-left: auto;
	 margin-right: auto;
	 vertical-align: middle; 	
}
#Taille , #Couleur, #Gomme{
	 margin-left: auto;
	 margin-right: auto;
	 vertical-align: middle; 
	width:48%;
}
#ChoixParametre h1{
	font-size:medium;
}
#Taille, #Gomme, #Couleur {
	float:left;
}
.couleur{
	height:50px;
	width:50px;
	margin:10px;
	float:left;
	text-align: center;
	border: 2px solid black; 
	border-radius : 10px;
	box-shadow: 5px 5px 5px #000;	
}
.gomme{
	width:auto;
	height:auto;
}
.taille {
	height:50px;
	width:100px;
	margin:10px;
	border-radius : 10px;
	box-shadow: 5px 5px 5px #000;
	background-color: white;	
}
.taille div{
	width:80px;
	background-color: black;
	position: relative;
	margin: auto;

}
#T_min{	height:4px;	top:23px;}
#T_medium{	height:6px; top:22px;}
#T_large{	height:8px; top:21px;}
#couleur1{background-color: #00349a;}
#couleur2{background-color: #025aa2;}
#couleur3{background-color: #669acc;}
#couleur4{background-color: #80001b;}
#couleur5{background-color: #fdbe01;}
#couleur6{background-color: #949494;}

/*
 * message d'information
 */
.message_info{
		position: absolute;
	top:45%;
	left:30%;
	width: 40%;
		display:block;
	text-align:center;
	vertical-align:middle;
	background-image: linear-gradient( #515151 0%, #000000 50%);
	border-radius : 10px;
	box-shadow: 5px 5px 5px #000;
	
}
.message_info p{
		color :white;
}
#erreurServeur{
	visibility: hidden;

}

